g++ sample1_unittest.cc sample1.cc -o sample -lgtest -lgtest_main -lpthread